<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="../js/jQuery.js"></script>

    <script>
        window.onload = function () {
            //获取jquery对象
            var $div = $("#aaa");
            // alert($div.html());
            alert($div);

            //转换成js对象
            //方式一
            // var div = $div.get(0);
            // alert(div);

            //方式二
            var div = $div[0];
            alert(div);
        }
    </script>
</head>

<body>
     <div id="aaa"> 滚犊子</div>
</body>

</html>